package com.wenson.behavior.strategy;

/**
 * @ClassName: ComputerClient
 * @Author: luowangcheng
 * @Date: 2024/6/15 17:15
 * @Description:
 */
public class ComputerClient {
    public static void main(String[] args) {
        Computer computer = new Computer();

        computer.setUsb(new KeyBoard());
        computer.compute();

        computer.setUsb(new Mouse());
        computer.compute();

        computer.setUsb(new Camera());
        computer.compute();
    }
}
